cmake_minimum_required(VERSION 3.0)

project(turn_client_main)

include_directories(/usr/local/include)
include_directories(/usr/include)

include_directories(./../)
include_directories(./../../)
include_directories(./../../loop_event/)

set(loop_event_list ./)
set(stun_message    ./)

aux_source_directory(./../../loop_event loop_event_list)
aux_source_directory(./../ stun_message)

add_executable(${PROJECT_NAME} main.cpp client_process.cpp peer_client_process.cpp file_operation.cpp ${stun_message} ${loop_event_list} util.cpp ./../../../util/byte_process.cpp ./../../../util/amf.cpp)

set(open_libs -lz ssl crypto)

target_link_libraries(${PROJECT_NAME} ${open_libs})
